package com.itheima.controller;

import org.apache.servicecomb.provider.rest.common.RestSchema;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RestSchema(schemaId = "ProviderController")
@RequestMapping("/provider")
public class ProviderController {

    @GetMapping("/hello")
    public String sayRest(String name) {
        return "Hello World "+name;
    }
}